package com.fansl.allround.upms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fansl.allround.upms.api.entity.SysDeptRelation;

/**
 * @author fansl
 * @Description: TODO
 * @date 2019/8/13 15:30
 */
public interface SysDeptRelationMapper extends BaseMapper<SysDeptRelation> {
    /**
     * 删除部门关系表数据
     *
     * @param id 部门ID
     */
    void deleteDeptRelationsById(Integer id);

    /**
     * 更改部分关系表数据
     *
     * @param deptRelation
     */
    void updateDeptRelations(SysDeptRelation deptRelation);
}
